package com.java.myapp.entity;

public class UserGoal extends BaseEntity {
	private Integer userId;
	private Double weight;
	private Integer day;
	private Double calPerDay;
	
	public UserGoal(Double weigth,Integer day) {
		this.weight=weigth;
		this.day=day;
		calPerDay=calculateCalPerDay(weigth,day);
	}
	
	private Double calculateCalPerDay(Double w,Integer d){
		return 0.0;
	}
	
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Double getWeight() {
		return weight;
	}
	public void setWeight(Double weight) {
		this.weight = weight;
	}
	public Integer getDay() {
		return day;
	}
	public void setDay(Integer day) {
		this.day = day;
	}
	public Double getCalPerDay() {
		return calPerDay;
	}
	public void setCalPerDay(Double calPerDay) {
		this.calPerDay = calPerDay;
	}
	
	
	
	

}
